import { postlink } from "@/api/postapi.js"
export let others = {
    state: {
        arr1: [],
    },
    mutations: {
        uparr(state, payload) {
            state.arr1 = payload

        },



    },
    actions: {
        others(context, payload, date) {

            postlink(payload.url, date).then((ok) => {

                context.commit("uparr", ok.data)

            })

        }
    },

}